﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Portal
{
    public class SystemCulture
    {

        public static IList<SystemDataItem> List = new List<SystemDataItem>
                                                       {
                                                           new SystemDataItem {Id=(int)CategoryCultureEnum.zh_cn,Name = "中文", Code = "zh-cn"},
                                                           new SystemDataItem {Id=(int)CategoryCultureEnum.en_us,Name = "English", Code = "en-us"}
                                                       };
        public static SystemDataItem zh_cn { get { return List.FirstOrDefault(o => o.Code == "zh-cn"); } }
        public static SystemDataItem en_us { get { return List.FirstOrDefault(o => o.Code == "en-us"); } }
    }
}
